package org.jprobe;
/**
 * JUnit test Results contract
 *
 * @author Hussain Al-Mutawa
 * @version 1.0
 * @since 1.0
 */
public interface JUnitResultsInterface {
	/**
	 * gets the project for which the coverage data is collected
	 * @return string representing the project name
	 */
	String getProject();
	/**
	 * gets the number of tests performed
	 */
	int getTests();
	/**
	 * gets the number of failures
	 */
	int getFailures();
	/**
	 * gets the number of errors/exception thrown on tests
	 */
	int getErrors();
	/**
	 * gets the success rate (percentage) value ranges between 0.0 -&gt; 1.0
	 */
	double getSuccessRate();
	/**
	 * gets the time elapsed to run the all test cases
	 */
	double getTestingTime();
}
